import { createRouter, createWebHistory } from 'vue-router'
import homePage from '../views/homePage.vue'
import blur from '../views/Image_tools/blur.vue'
import crop from '../views/Image_tools/crop.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: homePage,
    },
    {
      path: '/image-tools/blur',
      name: 'blur',
      component: blur,
    },
    {
      path: '/image-tools/crop',
      name: 'crop',
      component: crop,
    },
  ],
})

export default router
